<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="modal-dialog ms-modal-dialog" style="width: 600px;">
  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">电子交接回单详情</h4>
    </div>

    <div class="modal-body">
    
      <c:if test="${empty urls}">
        <div class="alert alert-warning">
          <p class="text-center">暂无交接单信息</p>
        </div>
      </c:if>
      
      <c:if test="${not empty urls}">
        <c:forEach var="url" items="${urls}" varStatus="status">
          <a href="${url}" target="_blank" class="btn ms-btn btn-primary">查看交接单${status.count}</a>
        </c:forEach>
      </c:if>
      
    </div>
      
  </div>
</div>
